View Issue Details

IDProjectCategoryView StatusLast Update
0001814T99X171.00 SKB EagleSW Issuepublic2025-04-07 10:06
Reporter(ALTech) Younkwang Jung Assigned To(SW) Jerry Lin Due Date
PriorityhighSeveritys4-minorReproducibilityhave not tried
Status closedResolutionnot a bug 
Summary0001814: [Smart3][UI537] Issue in LG TV compatibility testing (EOM)
DescriptionHi Jason

I have been discussing CEC bus error with LG TV since 1 month ago.
https://jira.skbroadband.com/projects/AMANDROIDS/issues/AMANDROIDS-140

I think, it seems to be an issue on the TV side, so I asked LG TV to analyze it, and the contents received are as follows.

The results of LG TV's review are as follows.
The STB is sending a CEC Ping message in a way that goes beyond the protocol promised,
Immediately after the message is sent, a CEC Bus Error is observed to occur for several tens of seconds.
Due to this phenomenon, CMD transmission related to CEC power control is delayed for tens of seconds,
So STB and TV are not functioning normally.
But this issue doesn't happen in INTEK

I didn't understand this situation, so I compared it with BID-AT200 and there is a difference in register.
The difference in the register probably seems to be related to below patch.
Please explain in detail what this change is.
=================================================================================================================
jglory2k@dev2-server03:~/work/bitbucket/BFX-AT100_5.3.7/common/arch/arm64/boot/dts/amlogic$ git log mesong12a_eagle.dtsi
commit 1bd6f87a29a4be8fedd74b5cb2a80b8b2eae5d57
Author: river wong <river.wong@foxconn.com>
Date: Thu May 30 16:04:00 2019 +0800

    Fix CEC issue with Samsung TV and HDMI CEC certification fail about error pluse.
=================================================================================================================

Thank you
YK.Jung
TagsNo tags attached.
Attach Tags

Users monitoring this issue

User List (ALTech) JunGyu Kim , (ALTech) SY Yoon , (SW) Jason Ling

Activities

(ALTech) Younkwang Jung

2023-10-11 15:28

developer  

image.png (17,992 bytes)   
image.png (17,992 bytes)   
image-2.png (113,322 bytes)   
image-2.png (113,322 bytes)   

(SW) Jerry Lin

2023-10-12 15:09

developer   ~0014282

Hi YK,
This patch is to fix the problem that CEC will send some wrong pluses.
When River was online support before , he found that SMART3 would send error pluses to Samsung TV.
So he asked AML about this problem and AML suggested us to turn off this ee_cec flag in dts file.

Jerry

(ALTech) Younkwang Jung

2023-10-12 15:39

developer   ~0014283

Hi Jerry

- what is the role of ee_cec flag?

- The attached file is the data received from LG.
  Can the setting of the ee_cec flag affect it?

- Why doesn't this symptom occur in other manufacturers?
  Please let me know if you have any guesses

Thank you
YK.Jung

(SW) Jerry Lin

2023-10-13 09:49

developer   ~0014294

Hi YK,
1. As far as i know , this is a debug flag in cec driver. The correct flow or role maybe ask AML.
2. Maybe we can enable this ee_cec flag on ATV12 to check this issue.
   If you need to do this request , i will release test FW to you.
   Because this patch is fixed on ATV9 for HDMI CEC certification.

Jerry

(ALTech) Younkwang Jung

2023-10-13 10:57

developer   ~0014295

Last edited: 2023-10-13 10:59

View 2 revisions

Hi Jerry

> Because this patch is fixed on ATV9 for HDMI CEC certification.
   Please let me know what HDMI CEC certification test item is
   FYI , other manufacturers enabled the flag ( same as AML reference )

- I sent you an LG analysis document. does the flag seem related to this issue?

- Please make test FW (SD only) after enable the flag
   ( use v15.537.695 for FW version )

Thank you
YK.Jung

(SW) Jerry Lin

2023-10-13 12:00

developer   ~0014298

Hi YK,
1. I don't know which one the test item is. After the certification unit discovered the issue and reported it to us.
AML said ee_cec flag needed to be turned off. This modification just solved the issue reported by the certification unit.

2. After discussing with River , we think that this ee_cec flag should not solve this problem,
But we don't know whether ATV12 and ATV9 have corrected cec-releated issues for ee_cec.

Jerry

(SW) Jerry Lin

2023-10-13 16:58

developer   ~0014305

Hi YK,
I update SD test FW to ALT Server.

link: /release_by_fxn/smart3_test/Mantis1814/usb_bfx-at100_V15.537.695.zip

Jerry

(ALTech) Younkwang Jung

2023-10-20 19:21

developer   ~0014367

Last edited: 2023-10-20 19:21

View 2 revisions

Hi Jerry

Let me explain the analysis result of LG

- v15.537.68 /* ee_cec was removed */
STB : Send CEC ping message EOM(=0)
LG TV : Error Handling occurs by Recognizing EOM(=0) as Error
STB : retransmit CEC ping because an error occurred
             So CEC bus continues to be used due to retransmission
  
- v15.537.695 ( test fw ) /* ee_cec is enabled */
STB : Send CEC ping message EOM(=0)
LG TV : Error Handling occurs by Recognizing EOM(=0) as Error
STB : Do not retransmit even though an error
             Communication improvements exist(WA), but there is still a root cause

First , LG TV is requesting WA. ( enable ee_cec flag )
Can you predict what will happen when ee_cec is enabled?
( ee_cec was removed on FXN Smart3 only.)

And I asked AML Korea FAE to confirm the root cause.

Thank you
YK.Jung
image-3.png (182,393 bytes)   
image-3.png (182,393 bytes)   

(ALTech) Younkwang Jung

2023-10-24 09:41

developer   ~0014389

Hi Jerry

About c14282
>> When River was online support before , he found that SMART3 would send error pluses to Samsung TV.
>> So he asked AML about this problem and AML suggested us to turn off this ee_cec flag in dts file.
Please tell me the name of the AML FAE(?)

Below is the contents received from AML KOR.
=================================================================================
Ceca is used by early projects, it's no longer maintained now. Now almost all projects used cecb.
=================================================================================

Please check and give me feedback
Thank you
YK.Jung

(SW) Jerry Lin

2023-10-25 10:22

developer   ~0014399

Hi YK,
River said he wasn't sure who AML FAE was.
When he was on a business trip before. AML FAE carried HDMI-CEC logic analysis equipment.
But he told me that this modification was made to pass HDMI-CEC verification.

Jerry

(SW) Jerry Lin

2023-10-26 16:10

developer   ~0014407

Hi Mr,Yoon and YK,
1. Do you know why you use ceca in 2019 ?
    This modificatoin was provided from AML Taiwan FAE.
    We discuss with Taiwan AML today, but he didn't know correct cec value in ATV12.
    He ask us to check with AML Korean FAE.

    Please help us to check with AML Korean FAE if there is any risk to change to cecb.

Jerry

(ALTech) SY Yoon

2023-10-26 16:47

developer   ~0014409

Hi Mr. Jerry Lin,

We asked AML Korean Engineer. But they asked RD HQ in china.
FII is the developed Eagle. So FII should know.
And FII should review that AML recommendation and apply it if FII accept AML's opinion.
If FII decide to apply changes from AML, then it should be explained to us why it should be changed.
We need your opinion about ceca and cecb and the reason why we should use it and why it didn't use it.

S YOON.

(SW) Jerry Lin

2023-10-27 09:06

developer   ~0014417

i Mr,Yoon and YK,
The following messages are the suggestion provide to us by AML Taiwan FAE.
1. The driver of ceca is currently not under maintenance. Please use cecb.
2. Fox can not review because we don't know what the register value is used for,
   and AML does not recommend that we modify the cec driver ourselves.
   The driver is maintained by their RD in China.
3. ATV12 also uses the new driver for cecb.

Jerry

(ALTech) SY Yoon

2023-10-27 10:36

developer   ~0014420

Hi Mr. Jerry Lin,

OK I see.
I understood AML Taiwan FAE's feedback and opinion.
Is there any issue to use cecb now ?
As you know we are using ceca from the start of this project.
So I think you need to test of HDMI function with cecb, especially cec function.
And you should have compatibility test with various TV.
Do you have any plan to test it, please let me know your plan as follows :
1. Your decision for using cec : ceca or cecb.
2. If you decide to use cecb, then please share your plan
    - HDMI and CEC Function test schedule
    - TV Compatibility test schedule with various TV.
    - Any help you need from ALT

S YOON

(SW) Jerry Lin

2023-10-30 11:02

developer   ~0014425

Hi Mr,Yoon and YK.
1. Your decision for using cec : ceca or cecb.
    >> cecb
2. If you decide to use cecb, then please share your plan
    - HDMI and CEC Function test schedule --> 11/3
    - TV Compatibility test schedule with various TV. --> 11/3
We will test the following TVs in our side.
TV Model name
===============================
LG OLED55B7T-D
Samsung UA40ES5500M
SHARP LC-40V7
SHARP 4T-C60BJ1T
SHARP LC-32LE275T
SONY KD-65X8500B
SONY KD-43XB000H
SONY KD-55X7000D
    - Any help you need from ALT --> Need to check turn on/off via NUGU

Hi YK,
I will release a test FW today.
The test FW is BFX-AT100_5.4.1 branch and base on this commit. Please help to check CEC with NUGU.

commit 4dc2b07733c98dad1bea37c3ee0a17fab2747635 (HEAD, skb/BFX-AT100_5.4.1, m/BFX-AT100_5.4.1_VCS, m/BFX-AT100_5.4.1)
Author: Peter Chen <peterch.ch.chen@mail.foxconn.com>
Date: Fri Oct 27 15:48:25 2023 +0800

    tag 541r502

    Change-Id: Ie97fdb2c6b3f5e8c732232decb3ccd22e375e071

Jerry

(ALTech) Younkwang Jung

2023-10-30 12:20

developer   ~0014426

Hi Jerry

Please build one more TEST FW for ATV12 ( SD/ND )
Based on the last official release of v15.537.71 (BFX-AT100_5.3.7_2023-1025-133639.xml ) , please apply that only
And you can use v15.537.715 for FW version.

Thank you
YK.Jung

(ALTech) SY Yoon

2023-10-30 17:23

developer   ~0014430

Hi Mr. Jerry Lin,

I have question about CECB.
I've heard that Foxconn used ceca and change something on source code for HDMI Certification.
Is there any issue on HDMI Certification(CEC Protocol and function) when you use cecb ?

SuhYoung Yoon

(SW) Jerry Lin

2023-10-30 21:11

developer   ~0014432

Hi YK,
I update SD test FW to ALT Server.

link: /release_by_fxn/smart3_test/Mantis1814/1030/usb_bfx-at100_V15.541.15.zip <=== ATV10
link: /release_by_fxn/smart3_test/Mantis1814/1030/usb_bfx-at100_V15.537.715.zip <=== ATV12

Jerry

(ALTech) Younkwang Jung

2023-11-02 16:57

developer   ~0014454

HI Jerry

Our HW Team check signal
link: /release_by_fxn/smart3_test/Mantis1814/1030/usb_bfx-at100_V15.541.15.zip
==> retry 8
This FW is the same as the previous state,
Is ee_cec applied to this FW?


link: /release_by_fxn/smart3_test/Mantis1814/1030/usb_bfx-at100_V15.537.715.zip
==> retry 2
This is the signal waveform with e_cec applied. It's the result I expected.

please check V15.541.15 FW again

Thank you
YK.Jung
image-4.png (199,117 bytes)   
image-4.png (199,117 bytes)   
image-5.png (203,563 bytes)   
image-5.png (203,563 bytes)   

(SW) Jerry Lin

2023-11-02 17:57

developer   ~0014457

Hi YK,
I want to say Sorry !
I check with the console log via dmesg.

console:/ # dmesg | grep "using cec"
[ 1.050689] cectx ff80023c.aocec: using cec:0 <== CEC A

I wll rebuild again and check the value again.

Jerry

(SW) Jerry Lin

2023-11-03 08:45

developer   ~0014458

Hi YK,
I upload ATV10 test FW to ALT Server.

console:/ # dmesg | grep "using cec"
[ 1.051140] cectx ff80023c.aocec: using cec:1 <== CEC B

link: /release_by_fxn/smart3_test/Mantis1814/1102/usb_bfx-at100_V15.541.175.zip

Jerry

(SW) Jerry Lin

2023-11-03 18:56

developer   ~0014469

Hi YK,
I update test report.

Jerry

(ALTech) Younkwang Jung

2023-11-08 10:33

developer   ~0014489

Hi Jerry

Does your test result mean that CEC A and CEC B results are the same?
And please check the cause of the failed item in your test result and explain it

Thank you
YK.Jung
image-6.png (74,507 bytes)   
image-6.png (74,507 bytes)   

(ALTech) Younkwang Jung

2023-11-14 17:02

developer   ~0014538

Hi Jerry

Please commit it to UI537
- add BPM-24634 to commit message
  ( https://jira.skbroadband.com/browse/BPM-24634 )

Please let me know when you're done

Thank you
YK.Jung

(SW) Jerry Lin

2023-11-14 19:01

developer   ~0014540

Hi YK,
done !

Jerry

(SW) Jerry Lin

2023-11-15 09:07

developer   ~0014541

Hi YK,
The follwoing TVs are in our QA lab. I will check QA test behavior.
Samsung UA40ES5500M
SHARP LC-32LE275T
SONY KD-65X8500B
SONY KD-43XB000H
About the failed test case , our QA also check with normal FW(ceca).
And the test result is the same.
Anyway,i will confirm with QA again.

This "SHARP LC-40V7" is in my office. I also check with normal FW(ceca).
And the result is the same.
About this TV, i also check the failed case with other products.
And the result is the same.

Jerry

(ALTech) SY Yoon

2023-11-15 11:17

developer   ~0014545

Hi Mr. Jerry Lin,

So do you mean the TVs have issue on CEC function ?
If Eagle has same result with other STB, then do you think there is no issue ?
If there is no issue on eagle, then please check why the reason that your test result was fail.
As you know, we have very various fail result from the field. We cannot ignore some special TV have issues.
We should check why those issues happen in that special TV and explain SKB about it.
After that we can close the issue. So I would like to ask to check why those issues are happen on that TV.

Best Regards,
SuhYoung YOON

(SW) Jerry Lin

2023-11-20 09:16

developer   ~0014586

Hi Mr SY and YK,
About the failed item "TV's RCU Power Key" of these TVs(SHARP LC-32LE275T / SONY KD-65X8500B / SONY KD-43XB000H / Samsung UA40ES5500M),
Our QA check again and find that SMART3 show upgrade UI when we press Power Key via TV's RCU.
We ask QA to press Back Key to exit the upgrade UI and the SMART3 can enter to standby mode.

This "SHARP LC-40V7" is in my office.
We check TV's UI , we find that the TV's UI contains the option of "Auto device off".
But this item is enable or disable "TV control device to turn OFF".
We also get cec log message from SMART3 , and we can not get CEC Message(Power ON) from TV.
We also test SWAN in this TV, the result is same.
We think that the TV not support "Auto device on".

About this TV "Samsung UA40ES5500M" , i will ask our QA to check with other product (SWAN and other product) and get log message to check.

Jerry

(ALTech) SY Yoon

2023-11-21 10:48

developer   ~0014598

Hi Jerry,

I summarize what you explained above.
    UI issue - Before Power off, Screen show Upgrade menu. But Press Back key TV go to off.(Normal operation)
                     TVs - SHARP LC-32LE275T / SONY KD-65X8500B / SONY KD-43XB000H
    Not support "Auto device off function"
                     TV - SHARP LC-40V7
     Additional Test request to your QA
                     TV - Samsung UA40ES5500M
If I am correct, then please update Samsung TV Test result.
If I am wrong, please correct me.

Best Regards,
SuhYoung YOON

(SW) Jerry Lin

2023-11-21 17:23

developer   ~0014600

Hi Mr,Yoon and YK.
If I am correct, then please update Samsung TV Test result.
--> Yes ,QA is currently using Google test for ATV12 and will check Samsung TV Test on November 23.

Jerry

(SW) Jerry Lin

2023-11-26 12:56

developer   ~0014625

Last edited: 2023-11-26 13:33

Hi Mr,Yoon and YK.
Our QA use 2 ATV10 versions to check with this Samsung TV (UA40ES5500M).
FW 15.541.17 <=== use ceca
    --> CEC Power control is ok.
FW 15.541.175 <=== use cecb
    --> CEC Power control is fail.

I will share the logcat and dmesg to AML.

Jerry

(ALTech) Younkwang Jung

2023-12-08 08:06

developer   ~0014681

Last edited: 2023-12-08 08:11

View 2 revisions

Hi Jerry

About ATV10
Is there any update on the progress?

INTEK STB is also using cecb.
Please check it again with INTEK STB
http://altserver01.duckdns.org/release_by_ALT/BID-AT200/usb_bid-at200_V15.541.30_SD.zip

Thank you
YK.Jung

(ALTech) Younkwang Jung

2023-12-14 12:52

developer   ~0014734

Hi Jerry

Please update the progress

Thank you
YK.Jung

(SW) Jerry Lin

2023-12-14 14:50

developer   ~0014736

Hi YK,
I have sent INTEK STB to SQA.
At present, it is begin transmitted internally.
After reveiving the stb , i will ask SQA to verify it immediately.

Jerry

(ALTech) Younkwang Jung

2023-12-18 14:57

developer   ~0014760

Hi Jerry

Please update the progress

Thank you
YK.Jung

(ALTech) Younkwang Jung

2023-12-19 08:54

developer   ~0014764

Hi Jerry

Is there a problem?
Please update the progress by 12 : 00 (KT)

Thank you
YK.Jung

(SW) Jerry Lin

2023-12-19 09:41

developer   ~0014765

Hi YK,
Our QA say that the Samsung TV is used for Google test.
And we can confirm the HDMI state of INTEK STB on 12/20.

Jerry

(SW) Jerry Lin

2023-12-20 18:57

developer   ~0014789

Hi YK,
Our QA say that the Samsung TV can be turned on for INTEK STB.

Jerry

(ALTech) Younkwang Jung

2023-12-21 09:14

developer   ~0014791

Hi Jerry

I don't understand this situation right now.
In the case of BFX-AT100 when you mentioned earlier, there is a problem and there is no update on the progress of the problem.
https://mantis.cnsbg.foxconn.com/vaas/view.php?id=1814#c14625

And when you tested with INTEK STB, you are saying there's no problem.
Then, you have to analyze and find out the cause
Are you analyzing why this status occurred?

At this point, I can't decide whether to apply this patch to ATV10.

Please analyze why this result is observed.

Thank you
YK.Jung

(SW) Jerry Lin

2023-12-21 11:55

developer   ~0014797

Last edited: 2023-12-21 11:59

Hi YK,
About this TV "Samsung UA40ES5500M", The TV was manufactured in 2012. I will ask QA to upgrgade TV Firmware first.
Our other Samsung TV(Samsung UA43RU7400) was manufactured in 2019.
The test results of this TV made in 2019 is normal.

I also share these log files to Amlogic FAE , but i haven't got a reply yet.
I will double confirm again.

Jerry

(SW) Kerwin Chen

2025-04-07 10:06

developer   ~0017431

no activity for this issue

Issue History

Date Modified Username Field Change
2023-10-11 15:28 (ALTech) Younkwang Jung New Issue
2023-10-11 15:28 (ALTech) Younkwang Jung Status new => assigned
2023-10-11 15:28 (ALTech) Younkwang Jung Assigned To => (SW) Jason Ling
2023-10-11 15:28 (ALTech) Younkwang Jung File Added: image.png
2023-10-11 15:28 (ALTech) Younkwang Jung File Added: image-2.png
2023-10-11 15:43 (SW) Jason Ling Assigned To (SW) Jason Ling => (SW) Jerry Lin
2023-10-11 15:44 (SW) Jason Ling Issue Monitored: (SW) Jason Ling
2023-10-11 16:48 (ALTech) Younkwang Jung Issue Monitored: (ALTech) SY Yoon
2023-10-11 16:48 (ALTech) Younkwang Jung Issue Monitored: (ALTech) JunGyu Kim
2023-10-12 15:09 (SW) Jerry Lin Note Added: 0014282
2023-10-12 15:39 (ALTech) Younkwang Jung Note Added: 0014283
2023-10-12 15:39 (ALTech) Younkwang Jung File Added: BFX-AT100 cec waveform.pptx
2023-10-13 09:49 (SW) Jerry Lin Note Added: 0014294
2023-10-13 10:57 (ALTech) Younkwang Jung Note Added: 0014295
2023-10-13 10:59 (ALTech) Younkwang Jung Note Edited: 0014295 View Revisions
2023-10-13 12:00 (SW) Jerry Lin Note Added: 0014298
2023-10-13 16:58 (SW) Jerry Lin Note Added: 0014305
2023-10-20 19:21 (ALTech) Younkwang Jung Note Added: 0014367
2023-10-20 19:21 (ALTech) Younkwang Jung File Added: image-3.png
2023-10-20 19:21 (ALTech) Younkwang Jung Note Edited: 0014367 View Revisions
2023-10-24 09:41 (ALTech) Younkwang Jung Note Added: 0014389
2023-10-25 10:22 (SW) Jerry Lin Note Added: 0014399
2023-10-26 16:10 (SW) Jerry Lin Note Added: 0014407
2023-10-26 16:47 (ALTech) SY Yoon Note Added: 0014409
2023-10-27 09:06 (SW) Jerry Lin Note Added: 0014417
2023-10-27 10:36 (ALTech) SY Yoon Note Added: 0014420
2023-10-30 11:02 (SW) Jerry Lin Note Added: 0014425
2023-10-30 12:20 (ALTech) Younkwang Jung Note Added: 0014426
2023-10-30 17:23 (ALTech) SY Yoon Note Added: 0014430
2023-10-30 21:11 (SW) Jerry Lin Note Added: 0014432
2023-11-02 16:57 (ALTech) Younkwang Jung Note Added: 0014454
2023-11-02 16:57 (ALTech) Younkwang Jung File Added: image-4.png
2023-11-02 16:57 (ALTech) Younkwang Jung File Added: image-5.png
2023-11-02 17:57 (SW) Jerry Lin Note Added: 0014457
2023-11-03 08:45 (SW) Jerry Lin Note Added: 0014458
2023-11-03 18:56 (SW) Jerry Lin Note Added: 0014469
2023-11-03 18:56 (SW) Jerry Lin File Added: 測試CEC型號結果統整表_1103.xlsx
2023-11-08 10:33 (ALTech) Younkwang Jung Note Added: 0014489
2023-11-08 10:33 (ALTech) Younkwang Jung File Added: image-6.png
2023-11-14 17:02 (ALTech) Younkwang Jung Note Added: 0014538
2023-11-14 19:01 (SW) Jerry Lin Note Added: 0014540
2023-11-15 09:07 (SW) Jerry Lin Note Added: 0014541
2023-11-15 11:17 (ALTech) SY Yoon Note Added: 0014545
2023-11-20 09:16 (SW) Jerry Lin Note Added: 0014586
2023-11-21 10:48 (ALTech) SY Yoon Note Added: 0014598
2023-11-21 17:23 (SW) Jerry Lin Note Added: 0014600
2023-11-26 12:56 (SW) Jerry Lin Note Added: 0014625
2023-11-26 13:33 (SW) Jerry Lin Note Edited: 0014625
2023-12-08 08:06 (ALTech) Younkwang Jung Note Added: 0014681
2023-12-08 08:11 (ALTech) Younkwang Jung Note Edited: 0014681 View Revisions
2023-12-14 12:52 (ALTech) Younkwang Jung Note Added: 0014734
2023-12-14 14:50 (SW) Jerry Lin Note Added: 0014736
2023-12-18 14:57 (ALTech) Younkwang Jung Note Added: 0014760
2023-12-19 08:54 (ALTech) Younkwang Jung Note Added: 0014764
2023-12-19 09:41 (SW) Jerry Lin Note Added: 0014765
2023-12-20 18:57 (SW) Jerry Lin Note Added: 0014789
2023-12-21 09:14 (ALTech) Younkwang Jung Note Added: 0014791
2023-12-21 11:55 (SW) Jerry Lin Note Added: 0014797
2023-12-21 11:59 (SW) Jerry Lin Note Edited: 0014797
2025-04-07 10:06 (SW) Kerwin Chen Status assigned => closed
2025-04-07 10:06 (SW) Kerwin Chen Resolution open => not a bug
2025-04-07 10:06 (SW) Kerwin Chen Note Added: 0017431